/*
 * Copyright 2011-2012 by RICHWARE SYSTEMS Corp.,
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of RICHWARE SYSTEMS Corp. ("Confidential Information").
 */
package com.yonginitagmaker.util;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class InflateUtil {

	public static View inflate(Context context, int layoutResId, ViewGroup root)
	{
		LayoutInflater inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		return inflater.inflate(layoutResId, root) ;
	}
	
}
